body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
}

.container {
    display: flex;
}

.sidebar {
    width: 200px;
    background-color: #f5f5f5;
    padding: 20px;
}

.sidebar ul {
    padding: 0;
    list-style: none;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease-in-out;
}

.sidebar a:hover {
    background-color: #ddd;
}

.content {
    flex-grow: 1;
    background-color: #fff;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-top: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.user-info img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.user-info .username {
    font-weight: bold;
    margin-bottom: 5px;
}

.user-info .logout-btn {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.user-info .logout-btn:hover {
    background-color: #45a049;
}

h2 {
    text-align: center;
    margin-top: 0;
}

.filter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-form input[type="text"],
.filter-form input[type="number"] {
    width: calc(50% - 10px);
    padding: 5px;
    margin-bottom: 10px;
}

.filter-form input[type="button"] {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.filter-form input[type="button"]:hover {
    background-color: #45a049;
}

#addBookButton {
    background-color: #3684e1;
    color: #fff;
    border-radius: 5px;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

#addBookButton:hover {
    background-color: #1213c3;
}

.book-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    list-style-type: none;
    padding: 0;
    margin-bottom: 10px;
}

.book-list input[type="button"] {
    background-color: #3684e1;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.book-list input[type="button"]:hover {
    background-color: #1213c3;
}

.book-item {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: none;
}

.model {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.model h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: border-color 0.5s ease-in-out;
}

.form-group input:focus {
    border-color: #555;
}

.form-group input[type="submit"] {
    display: inline-block;
    width: 100px;
    margin-left: 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.form-group input[type="button"] {
    display: inline-block;
    width: 100px;
    margin-left: 170px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.form-group input[type="submit"],
.form-group input[type="button"]:hover {
    background-color: #1f6c24;
}

.form-group .warning-message {
    font-weight: normal;
    font-size: 11px;
    color: #f25d8e;
}
